cmake_minimum_required(VERSION 3.16)

project(project1)

if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
    include(CTest)
endif()

set(CMAKE_CXX_STANDARD 17)

find_package(LAPACK)

if (LAPACK_FOUND)
else(LAPACK_FOUND)
    message(FATAL_ERROR ”LAPACK library not found”)
endif(LAPACK_FOUND)

include_directories(include)

add_subdirectory(BVP)
add_subdirectory(main)

if(BUILD_TESTING)
    add_subdirectory(test)
endif()